from langchain_community.document_loaders import (
    UnstructuredExcelLoader, UnstructuredWordDocumentLoader, UnstructuredPowerPointLoader
)

# excel_loader = UnstructuredExcelLoader("./员工考勤表.xlsx", encoding="utf-8")
# excel_documents = excel_loader.load()

# word_loader = UnstructuredWordDocumentLoader("./喵喵.docx", encoding="utf-8")
# word_documents = word_loader.load()

ppt_loader = UnstructuredPowerPointLoader("章节介绍.pptx")
ppt_documents = ppt_loader.load()

print(ppt_documents)
print(len(ppt_documents))
print(ppt_documents[0].metadata)
